package coreconcurrency.paradigm;

/**
 * create by yongli on 2021-07-04 14:28
 */

public class TV{
    private volatile int factoryId;
    private String name;
    private float price;

    public TV(int factoryId, String name, float price) {
        this.factoryId = factoryId;
        this.name = name;
        this.price = price;
    }

    public int getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(int factoryId) {
        this.factoryId = factoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}